package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.domain.entity.DataMainPicEntity;
import com.ym.medical.enums.HospitalAttributesEnum;
import com.ym.medical.enums.HospitalLevelEnum;
import com.ym.medical.enums.HospitalTypeEnum;
import com.ym.soso.domain.vo.RegistryWayVo;
import com.ym.soso.enums.RegistryWayEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author: 张文博
 * @version: 2019年11月14日 12:04
 */
@Data
@ApiModel("医院详情")
public class HospitalDetailVo {
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("医院编码")
    private String hosCode;

    @ApiModelProperty("医院名称")
    private String hosName;

    @ApiModelProperty("图")
    private String hosPhoto;

    @ApiModelProperty("区域")
    private String area;

    @ApiModelProperty("省份")
    private String prov;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("医院类别")
    @JsonSerialize(converter = HospitalTypeEnum.Covert.class)
    private String theType;

    @JsonSerialize(converter = HospitalLevelEnum.Covert.class)
    @ApiModelProperty("医院等级")
    private String hosLevel;

    @JsonSerialize(converter = HospitalAttributesEnum.Covert.class)
    @ApiModelProperty("公/私")
    private String hosProp;

    @ApiModelProperty("门诊时间")
    private String obsTime;

    @ApiModelProperty("可用医保(01居民医保)")
    private String ableMed;

    @ApiModelProperty("国内排名")
    private Integer landRank;

    @ApiModelProperty("区域排名")
    private Integer areaRank;

    @ApiModelProperty("省排名")
    private Integer provRank;

    @ApiModelProperty("市级排名")
    private Integer cityRank;

    @ApiModelProperty("经度")
    private Double lng;

    @ApiModelProperty("纬度")
    private Double lat;

    @ApiModelProperty("医院地址")
    private String addrDesc;

    @ApiModelProperty("联系电话")
    private String phoneNo;

    @ApiModelProperty("挂号方式")
    @JsonSerialize(converter = RegistryWayEnum.Covert.class)
    private String registryWay;

    @ApiModelProperty("医院特长")
    private String theGoods;

    @ApiModelProperty("趁车路线")
    private String thePath;

    @ApiModelProperty("医院介绍")
    private String introduction;

    @ApiModelProperty("医院地址")
    private String navUrl;

    @ApiModelProperty("面积")
    private Double theArea;

    @ApiModelProperty("床位数量")
    private Integer theBedNum;

    @ApiModelProperty("标签")
    private String tags;

    @ApiModelProperty("是否关注标志")
    private Boolean attention;

//    @ApiModelProperty("医生信息")
//    private List<ResultDoctor> resultDoctor;


    @ApiModelProperty("挂号方式列表")
    protected List<RegistryWayVo> wayVos;

    @ApiModelProperty("优势病种")
    private String advDies;

    @ApiModelProperty("优势技能")
    private String advSkill;

    @ApiModelProperty("挂号时间")
    private String regTime;

    @ApiModelProperty(notes = "重点科室介绍")
    private String theGoodsDesc;

    @ApiModelProperty(notes = "医院图片展示")
    private List<DataMainPicEntity> picIds;
}
